package ;
import haxe.Resource;
import neko.io.File;
import neko.io.FileOutput;
import neko.Lib;
using org.zdc.Util;
using StringTools;

/**
 * ...
 * @author Metal Slime
 */

class Run 
{

	public function new() 
	{
		
	}
	
	public static function main():Void {
		new CreateJsflFiles();
		
		//var content = Resource.getString("api");
		//var temp:Array<String> = [];
		//for (line in content.split2("\n")) {
			//var two = line.split2(~/\s/);
			//if (two.length < 2) {
				//temp.push("\n");
				//continue;
			//}
			//var t1 = two[0].replace("()", "");
			//var t2 = two[1].replace("\"", "'");
			//if (t1 != "" && t2 != "") {
				//temp.push(Std.format("\"${t1}#${t2}\","));
			//}
			//else {
				//temp.push("\n");
			//}
		//}
		//
		//File.saveContent("E:/ZhangDongCai/svns/daily/DailyJobNeko/src/apis.txt", temp.join("\n"));
		//var out = File.write("E:/ZhangDongCai/Js/HaxeJsfl/src/asdfa.txt");
		//out.writeString(temp.join("\n"));
		//out.close();
	}
}